<?php

/* HOST PAPA MEMORY LIMIT */
ini_set('memory_limit', '64M');

define('INI_FILE', 'application.ini');
define('DOCUMENT_ROOT', dirname(dirname(__FILE__)));
define('PUBLIC_ROOT', dirname(__FILE__));
define('ROOT_MAIL', 'ADMIN');
// Load framework and document
require_once(DOCUMENT_ROOT . '/library/Erra/load.inc.php');

/**
 * Application loader
 */
Erra_Core_Config::$applicationLoader = function($htmlPageCode) {
            default_resource_loading($htmlPageCode);
            // Add custom hardcoded includes here
            Erra_Core_HtmlStream::$js[] = config_get("public_js") . '/application.js';
        };
 
// Renders page output
require_once(DOCUMENT_ROOT . '/library/Erra/start.inc.php');
?>  